<?php
	namespace Common\Model;
	use Think\Model\RelationModel;
	class GroupModel extends RelationModel{
		protected $tableName='create_group';//主表名
		protected $_link=array(
				'member'=>array(
						'mapping_type'=>self::HAS_MANY,
						'class_name'=>'member',
						'foreign_key'=>'id',
					),

			);
	}


?>
